package com.qs.sckill.service;

import com.qs.sckill.entity.OrderInfo;
import com.qs.sckill.entity.SckillOrder;
import com.qs.sckill.entity.User;
import com.qs.sckill.vo.GoodsVo;

public interface OrderService {

    SckillOrder getSckillOrderByUserIdAndGoodsId(String id, String goodsId);

    OrderInfo createOrder(User user, GoodsVo goods);

    String getGoodsSckillResult(String id, String goodsId);

    OrderInfo getOrderById(String orderId);
}
